public class Test{
    public static void main(String[] args){
        byte b = 10;
        short s = 5;
        // short sum = b + s;
        // 从int转换到
        int sum = b + s;
        System.out.println("sum:"+sum);
        byte byte1 = 10;
        short short1 = 5;
        double double1 = 1.0;
        double t = (byte1 - 5)*short1 + double1;
        System.out.println("t:"+t);
        // 强制类型转换(显示类型转换)
        float float1 = (float)3.14;
        float float2 = (float)((byte1 - 5)*short1 +double1);
        System.out.println()
        /*System.out.println("Test-Hello");
    byte b1 = 0b1010101;
    byte b2 = 0125;
    byte b3 = 85;
    byte b4 = 0x55;
    System.out.println("b1:"+b1);
    System.out.println("b2:"+b2);
    System.out.println("b3:"+b3);
    System.out.println("b4:"+b4);*/
    }
}